{include file="public/header" /}

<div class="container mtb-15">
	<div class="col-md-9 left-box">
		<ul class="label-list">
			<a href="{:url('Article/index')}"><li class="{$category_id ? '' : 'on'}">全部</li></a>
			{volist name="category_list" id="rs"}
				<a href="{:url('Article/index')}?category_id={$rs['category_id']}"><li class="{$category_id == $rs['category_id'] ? 'on' : ''}">{$rs['title']}</li></a>
			{/volist}
		</ul>
		<div class="list-box mt-15">
			<div class="list-body article-list">
				{volist name="list" id="rs"}
					<div class="article-item">
						{gt name="rs.cover_id" value="0"}
							<div class="cover">
								<a href="{:url('Article/detail', array('article_id' => $rs['article_id']))}"><img src="{:img($rs['cover_url'], 368, 234)}" alt=""></a>
							</div>
						{/gt}
						<div class="article-body">
							<div class="title"><a href="{:url('Article/detail',array('article_id' => $rs['article_id']))}">{$rs['title']}</a></div>
							<div class="content">{$rs['description']}</div>
							<div class="author">
								{notempty name="rs.author"}
									<span>{$rs['author']}</span>
								{/notempty}
								<span>发布于 {$rs['time_ago_desc']}</span>
								<span>阅读 ( {$rs['view_num']} )</span>
							</div>
						</div>
					</div>
				{/volist}
			</div>
		</div>
		{$page}
	</div>
	<div class="col-md-3 right-box">
		<div class="right-mob">
			<div class="title">推荐文章</div>
			<ul class="article-mod">
				{volist name="recommend_list" id="rs"}
					<li><a href="{:url('Article/detail', array('article_id' => $rs['article_id']))}">{$rs['title']}</a> <span>{$rs['recommend_num']} 推荐</span></li>
				{/volist}
			</ul>
		</div>
	</div>
</div>

{include file="public/footer" /}